home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 1146 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.4 KB

  1. From: vandevod@cs.rpi.edu (David Vandevoorde)
  2. Message-ID: <xsoratnorr5.fsf@avs.cs.rpi.edu>
  3. X-Original-Date: 17 Apr 1996 10:21:50 -0400
  4. Path: in2.uu.net!bounce-back
  5. Date: 18 Apr 96 00:49:20 GMT
  6. Approved: fjh@cs.mu.oz.au
  7. Newsgroups: comp.std.c++
  8. Subject: Re: Template argument deduction
  9. Organization: RPI Computer Science
  10. References: <FREYBURG.96Apr15144107@glitch.stanford.edu>
  11. In-Reply-To: freyburg@glitch.stanford.edu's message of 15 Apr 1996 21:47:00
  12.     GMT
  13. X-Newsreader: Gnus v5.1
  14. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  15.     iQBFAgUBMXWRneEDnX0m9pzZAQGibAF9HG5xxaEb5JXFUJSVkWV4N9GRFyxUlqB6
  16.     if3IstZKl/MlHQDeMMEtKfWojGAYgYKy
  17.     =H/eq
  18.  
  19. >>>>> "BF" == Brian Michael Freyburger <freyburg@glitch.stanford.edu> writes:
  20. BF> Reading section 14.10.2 of the January WP, I can not figure out
  21. BF> whether the following function call can be deduced:
  22.  
  23. BF> template <class S, class T = S>
  24. BF> int foo(S s, T t = T());
  25.  
  26. It's a non-issue since default template arguments cannot be
  27. specified for function templates.
  28.  
  29.     Daveed
  30. ---
  31. [ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
  32. [ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
  33. [ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
  34. [ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
  35. [ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]
  36.